// https://nuxt.com/docs/api/configuration/nuxt-config


export default defineNuxtConfig({
  app: {
    // head
    head: {
      title: '北京华阅嘉诚科技发展有限公司',
      meta: [
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        {
          name: '北京华阅嘉诚科技发展有限公司',
          content: ['新语听书','华阅嘉诚','北京华阅嘉诚科技发展有限公司','图书馆'],
        },
      ],
      link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
    }
  },
  compatibilityDate: '2024-04-03',
  devtools: { enabled: true },
  modules: ['@element-plus/nuxt', '@nuxt/content', '@nuxtjs/tailwindcss'],
  elementPlus: {
    icon: 'ElIcon',
    importStyle: 'scss',
    themes: ['dark']
  },
  postcss: {
    plugins: {
      tailwindcss: {},
      autoprefixer: {},
    },
  },
  css: ['~/assets/css/tailwind.css'],

  content: {
    // 内容模块的配置选项
    
  },
  vite:{
    css:{
      preprocessorOptions:{
        scss:{
          silenceDeprecations: ['legacy-js-api']
        }
      }
    }
  }

})